//
//  UILable+Extensions.swift
//  新浪微博
//
//  Created by zj on 2017/10/12.
//  Copyright © 2017年 zj. All rights reserved.
//

import UIKit

extension UILabel {
    convenience init(text: String, fontSize: CGFloat = 14, color: UIColor = UIColor.darkGray) {
        self.init()
    
        self.text = text
        font = UIFont.systemFont(ofSize: fontSize)
        textColor = color
        numberOfLines = 0
        
        sizeToFit()
    }
}
